package com.shao.discovery;

import com.shao.ServiceConfig;

import java.net.InetSocketAddress;
import java.util.List;

/**
 * @author PaoFu
 * @version 1.0
 * @data 2025/4/10 9:47
 */
public interface Registry {

    void registry(ServiceConfig serviceConfig);

    List<InetSocketAddress> lookup(String serviceName);
}
